import React, { Component } from 'react'

export default class ComentSearch extends Component {
  render() {
    const {list} = this.props
    return (
      <div>
        {
          list.map((i,index)=>{
            return <h1 key={index}>{i}</h1>
          })
        }
      </div>
    )
  }
}
